package com.wkr.order.config;

import com.netflix.loadbalancer.IRule;
import org.springframework.context.annotation.Bean;

//@Configuration
//需要保证自定义负载均衡规则不被Spring扫描到，扫描到则共享这个配置
public class LBConfig {
    @Bean
    public IRule custom() {
        return new LBRule();
    }
}
